projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
324ad7a
)
Only try to label resources if ACM is enabled.
author
Ewan Mellor
<ewan@xensource.com>
Sat, 16 Dec 2006 12:54:43 +0000
(12:54 +0000)
committer
Ewan Mellor
<ewan@xensource.com>
Sat, 16 Dec 2006 12:54:43 +0000
(12:54 +0000)
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
tools/xm-test/lib/XmTestLib/acm.py
patch
|
blob
|
history
diff --git
a/tools/xm-test/lib/XmTestLib/acm.py
b/tools/xm-test/lib/XmTestLib/acm.py
index a0d8a43c0980e9ab98d44b968671d5715c8f3138..c670bc039bcd136fa4dd726f4684bb0f2f93152f 100644
(file)
--- a/
tools/xm-test/lib/XmTestLib/acm.py
+++ b/
tools/xm-test/lib/XmTestLib/acm.py
@@
-57,6
+57,8
@@
def ACMLabelResources(resources):
# Applications may label resources explicitly by calling this function
def ACMLabelResource(resource, label='red'):
+ if not isACMEnabled():
+ return
if acm_verbose:
print "labeling resource %s with label %s" % (resource, label)
if not ACM_LABEL_RESOURCES: